package com.components;

import java.io.IOException;
import java.net.ServerSocket;

import javax.swing.JPanel;

public class ControlPanel extends JPanel {
	private static final long serialVersionUID = 1L;

	public ControlPanel() {
		super();

		try {
			final ServerSocket serverSocket = new ServerSocket(8999);
			final Server server = new Server(serverSocket);
			new Thread(server).start();
		} catch (final IOException e) {
			e.printStackTrace();
		}

	}

}
